﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _003_属性
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Customer a=new Customer();
            a.SetAge(19);
            Console.WriteLine(a.GetAge());
            a.Name = "good";
            Console.WriteLine(a.Name);
            // a.Gender(1); 不可调用的成员

            int age = 12;
            var age2 = 45;
            //age2=31.0  匿名类型一旦定义不能改变
        }
    }
}
